
[dbo].[Component_Interest_Group]
CREATE TABLE [dbo].[Component_Interest_Group]
(
[ComponentCode] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[InterestCategoryID] [numeric] (18, 0) NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Component_Interest_Group] ADD CONSTRAINT [PK_Component_Interest_Group] PRIMARY KEY CLUSTERED ([ComponentCode], [InterestCategoryID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Component_Interest_Group] ADD CONSTRAINT [FK_Component_Interest_Group_Interest_Category] FOREIGN KEY ([InterestCategoryID]) REFERENCES [dbo].[Interest_Category] ([InterestCategoryID])
GO
GRANT REFERENCES ON [dbo].[Component_Interest_Group] TO [IMIS]
GRANT SELECT ON [dbo].[Component_Interest_Group] TO [IMIS]
GRANT INSERT ON [dbo].[Component_Interest_Group] TO [IMIS]
GRANT DELETE ON [dbo].[Component_Interest_Group] TO [IMIS]
GRANT UPDATE ON [dbo].[Component_Interest_Group] TO [IMIS]
GO